const { defineConfig } = require('@vue/cli-service')
const path = require('path')

const coverPath = path.join(__dirname, '/src/cover.less')

module.exports = defineConfig({
  transpileDependencies: true,
  css: {
    loaderOptions: {
      less: {
        lessOptions: {
          modifyVars: {
            hack: `true; @import "${coverPath}";`
          }
        }

      }
    }
  }
})
